﻿using T0yK4T.IO;


namespace ToyChat
{
    /// <summary>
    /// This enum specifies a few types of user disconnect "methods"
    /// </summary>
    public enum DisconnectType
    {
        /// <summary>
        /// Specifies that the user disconnected
        /// </summary>
        UserDisconnect = DisconnectReason.Disconnect,

        /// <summary>
        /// The connection was closed due to an error
        /// </summary>
        ConnectionError = DisconnectReason.Error,

        /// <summary>
        /// The connection was foribly closed by the server
        /// </summary>
        ServerForced,
    }
}